-
Notifications
You must be signed in to change notification settings - Fork 51
Enabling Geoinfo Feature for Anemoi Datasets #1634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Geoinfo channels do not have to be constant in time. They can be dynamic variables and the goal of the issue is that any channel can be a geoinfo channel. So no caching is possible. |
|
Thanks for your comment @clessig. I will adapt accordingly. |
clessig
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments.
|
|
||
| self.mini_epoch = 0 | ||
|
|
||
| # Log geoinfo configuration per stream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove. This will be printed as part of the config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I will
| @@ -0,0 +1,33 @@ | |||
| # (C) Copyright 2024 WeatherGenerator contributors. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's please remove all the config files. We need to find a place for them that is not the main repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The configs are here only for the reviewer to test the work, I will remove them before submitting the PR
As some of geoinfo channels are constant in time, do you think we should check whether that and cache the channel if it is constant? or treat them all as non-constant in time? |
Let's treat them all as non-constant in time. The benefit would be so small that it's not worth the additional complexity. |
|
How do you think we should handle the NaN values in the geoinfo channels @clessig? |
NaN values are handled later in the MultiStreamDataSampler. So nothing has to be done from your side. |
Description
Geoinfo channels are static/constant-in-time variables such as altitude, land-sea mask, orography, etc. These variables provide geographic context to the model and can be used in the decoder for location-aware predictions.
Previously, geoinfo was only supported for OBS-type streams. This implementation extends geoinfo support to anemoi-type streams (ERA5, CERRA, etc.).
brief summary of the changes introduced in this pull request.
Issue Number
Closes #1428
Checklist before asking for review
./scripts/actions.sh lint./scripts/actions.sh unit-test./scripts/actions.sh integration-testlaunch-slurm.py --time 60